package com.liaogui;


import com.liaogui.api.UserService;
import com.liaogui.consumer.ProxyFactory;
import com.liaogui.framework.Invocation;
import com.liaogui.framework.protocol.HttpClient;

import java.lang.reflect.Proxy;

/**
 * Hello world!
 *
 */
public class ConsumerApplication
{
    public static void main( String[] args )
    {
        UserService userService = ProxyFactory.getProxy(UserService.class);

        String sayHello = userService.sayHello("liaogui111");

        System.out.println(sayHello);
    }
}
